Creates a Vec2 from a generic Vector2.
A new Vec2 instance with the same components as the input vector.
The generic vector to convert.